package com.aretias.jkholdings.repository;

import java.util.List;

import com.aretias.jkholdings.model.Category;

public interface CategoryRepository {

	/**
	 * 
	 * @param param
	 * @return
	 */
	public List<Category> selectChildCategorys(Category param);
	
	/**
	 * 
	 * @return
	 */
	public List<Category> selectAllCategorys();

	/**
	 * 
	 * @return
	 */
	public Category selectFirstCategory();
	
	/**
	 * 
	 * @param param
	 * @return
	 */
	public Category selectCategoryFullName(Category param);

	/**
	 * @param param
	 */
	public void insertCategory(Category param);

	/**
	 * 
	 * @param param
	 */
	public void deleteCategory(Category param);
	
	/**
	 * 
	 * @param param
	 */
	public void deleteChildCategory(Category param);
	
	
}
